Clean up image paths in actions.js