connected input.js