Fix Firefox problem by disabling strict mode