bringing in input.js