Check code with JSLint. Closes #8.