FIX: Safari 7 changed popstate behavior