Added first version of check-syntax.
Usage: run index-check-syntax.js with as parameter the filename of the js to be checked.