do similar dance of jquery searching, unwrapping and re-wrapping script elements for jazzcat api