Bug in js on hover off