support Safari 6.1+