jQuery API rewrite with Closure Library implementation (take a look!)