Don't replace console. for window.top.console. when embedded.
Merge pull request #596 from remy/fix/embedded-console-582

Don't replace console. for window.top.console. when embedded.