Syntatic changes suggested by JSLint