replaced js.html with unified scripts in rapid.js