Sync'd extractor.js changes with FF/IE. Added logwrapper.js.