Removed console logging of javascript objects.
Added missing code from the old summon stats script.