start game on window load rather than document ready

Fixes #7 by making sure the images have loaded before doing anything.