Check JavaScript syntax at:
http://www.javascriptlint.com/online_lint.php
Testing Dynamic Typing