TaskManager in jQuery