jshint cleanup -- unused vars, undeclared vars, == instead of ===, etc.