Moved drawing functions into separate js-file. Update game.jade
template.