added input.js