Use typeof test with Zepto to avoid ReferenceError.