Refactoring some JS to make it more testable
Minor: don't need these in the JSLint config anymore
Making the rest of the check-answer JS testable