cleaned myscript.js
revised design