removing logging, fixing layout in chrome

toSource doesn't exist in chrome, apparently.