Pretty simple question and google/stackoverflow isn't helpful. I don't want to try and duplicate efforts if it's already been done.

jQuery/Zepto source relies on internal functions, so please don't recommend that.