You could write a little plugin and hook onto plugins_loaded or use the theme's function file, then wp_dequeue_script the offending script and enqueue them in the right place.