add amd support for jquery