Reorder the javascript library