attempt at firefox compat