Fixed JSHint complaints, no logic was changed, purley cosmetic.

Fixed JSHint complaints, no logic was changed, just purely cosmetic changes.