Clean up diary_entry.js