Updated input.js 

Fix issue with number return as a number if still validates as a string number.