normalized whitespace on input.js