moved js file
cleanup resources
double version, canvas and webgl