Minor JS issues
Strict type comparisons in JS