modify action.js