add some jquery factory for amd