lint tests and fix linting warnings using inline comments in underscore.js

I'm not really expecting anybody to review all of this. Just let me know if there's any objections to the concept.
not a big fan of these switches :/