changed the order of jq loading, and added a minified jqui to match the jquery version.