[fix] resolve dependency, move i iterator into inner loop, via @leonidborisenko patch
[++] initialize jQuery.fns after setDOMLibrary