Update QueryInput.js

Fix to work with 0.90.x