fixed jshint errors and add jshint task on travis
Merge pull request #9 from yurenju/jshint

fixed jshint errors and add jshint task on travis