Updating js file according to README.md file.