Fix Safari 5 loading problem
Merge pull request #1251 from javierluraschi/FixSafari5

Fix Safari 5 loading problem