js working in FF