fixed jqueryui dependency, added documentation to .Js