Update Input.js

Add comments