Update input.js

Fixed typo