renamed frontend/controls.js to input.js