revert JS to master branch