compare with === operator instead of equality == operator

Comparison with === operator works faster (cf. http://stackoverflow.com/questions/12374815/javascript-vs-operators-performance/12374900#12374900), and prevents undesirable type conversion.