Clean up actions.js