jshint says you should use === instead of ==