math fix for games played?

updates to the main js file