ie javascript bug fixes