Added a canvas instead frame; added .js for canvas