Tidy up myscript.js, added code to generate error message in case of CSRF attacks.