fixed jshint errors and add jshint task on travis