Update myscript.js

Added documentation up top.