another method for jQuery migrate (like rootstheme)