Update game_manager.js

Fixed Chrome bug.
Math.log2 doesn't work on Chrome.
Thanks to https://www.facebook.com/akshay.acharya.165