Small javascript utility to wait for jquery or other libraries to load before executing functions.