changed myscript.js

changed the keyCode
some changes at train last