Firfox Fix 2.0

Fixed code preventing game from launching in firefox