Inject javascript library dynamically and use it. Example is for jquery