firefox compatibility added