I edited the fiddle with the corrections: http://jsfiddle.net/GVcPu/4/
The entities canvas should be transparent to allow the background to be seen:
style="background: transparent"
Be careful with the order of the parameters:
bg = new Background(bgImg,0,0);
andfunction Background(xpos, ypos, imgsrc){
Be careful with the name of the variables:
ctxBg.drawImage(this.imagesrc, this.xpos, this.ypos);
where the variable is actually calledthis.imgsrc
in this function.
Hope it helped!