Refactor lib/sites.js
Implement deleting dates