Safari 5 strict mode fix