added jquery-ui and some fixes