move pass(), select() and constant() into new file actions.js