Update action.js

Modify by others