Make CSS update work for firefox