My version of the javascript