Fixed null JS comparaison