Update myscript.js

fixed the error