Passed local jsHint and karma

Test Travis.