Fixing jquery-ui issue