Updated resources calculation logic
Updated jquery ui libs