First version of the Webgl script