using component/event to add x-browser support