Let's make this work for firefox.