html5 canvas file and intial javascript file