nicer yet browserVersionOf
moved stuff around in preparation for usable shaderProgram