fix toggles js for ie9/10