Changed == to === in javascript