rootDir tweak

Minor whitespace cleanup, replaced console wrapper with one that is a little more robust and wont cause IE to freak out.