Fixed suggestions by JSHint and running it on Travis
0.1.1