Better method to test for Zepto
Merge pull request #2384 from mattolson/master

Avoid Zepto check optimization