Pleasing jslint: Changed != to !== and == to ===