Revert "don't support safari 5 and ios 5"

This reverts commit 6a2c337a1d37317514525ce643607be9342feda0.