the jqueryui had to be at the top not bottom