added getHacman.
added bind func and tidy up game.js
complete as first release