fix detect bug in iOS

iOS returns 'typeof Blob' as 'object' instead of 'function', tested on
iOS 6.