split input.js