removes unneeded parts of jquery ui