JSLint fixes
Remove console logging of errors