Create actions.js