Trying to update the javascript