finally fixing jasmine and jshint problems
finally fixing jasmine and jshint problems