Moving main js into game container