Added suport to firefox 5