upload the javascript code