Clean up for cases.js