JSHint fixes
Minor fixes