Js fix for stupid ie