Fix broken js on firefoxirefox 25.0.1 without remove code

I think we should fix this way