Fix Safari 5 loading problem