Modified changes based on lshint output during Travis build