Minor fixes

Minor style/JSHint fixes.