add mozilla specific code