Fixed .jshint issues.
Code clean-up.