move keyboard.js to the replay module