Fixed console output so it works in IE.
Merge pull request #11 from PE-INTERNATIONAL/master

Fixed logging to console so it works in IE