Move Javascript code to a separate file.
Added keyboard event handling to control the character.
Merge branch 'master' of https://github.com/cesarjimenez/mulitplayer-pacman