Move most game-specific logic to a new ra.js module.
Move more RA-specific code to ra.js
Only set up yScale on the first render.
Add more info to tooltip.
Improve tooltip rendering.