Update action.js

fixed some typos.