added 3 equal signs to equation in js