Removed remaining jshint errors.

Remaining code-style issues related to this cleanup:
* some unused variables
* some implied globals
* I disabled ['prop'] vs .prop errors, because jshint only wants .prop style while closure will force ['prop'] style.