Changes html to use same 'init' function as webGL