webgl: Move JavaScript files to resource dir