Fix ie9 and Firefox (ready)