updated js file to latest