Updated the javascript file