#30 added docstrings for m.input.js