Moved scripts to web.js