Removed arch armv7s
Simplified logic, now works in iOS 8 Safari
Simplified logic, now works in iOS 8 Safari