Create bufferedInput.js