Update game.js

Makes giraffe less retarded and fixes bug where multiple instances of giraffe could be created.