created input.js