partially revert last commit to js.js