Updated for firefox
Updated for firefox