starting game on ready instead of window.onload