Resolved conflict between PhantomJS, Jasmine, and cloning the console object for testing purposes. Fixed regular expression checks so only native objects or console clones can be overridden.