Offloaded renderLine() method to render.js. New file player.js is empty.