javascript

updated the javascript file