Fix error!

No Math.abs!
Update game_manager.js
Merge pull request #3 from AlexanderBlagodatskih/master

fix bug when using Math.abs