Added more detailed param info to actions.js

Updated the jsdoc in actions.js to make the operation of params on various functions clearer. Let me know if there's anything you think could be clearer.