moved shader source from html to javascript