Fix equality statement
Don't redeclare Promise
Added jshint task