Split out js to action.js from module admin.