small refactoring

- stupid hp div in index.js
+ small refactoring in game.js
Merge branch 'intrface_ref' into dev

* intrface_ref:
  small refactoring