Unnecessary semicolon was failing JSLint