added fallbacks for ff and opera