Added methods to remove collections on server side JS