fixing routes for jquery ui