Fixed JSHint errors.
Merge pull request #2071 from pjackson28/master

Fixed JSHint errors