js/css fix for firefox