Fix JSHint errors
Add TravisCI configuration