Added notes on JS API to README, including description of #INPUT API