Use !== to compare with null
JS fixes