Update javascript for grunt build