Add mutex to JSDebugConsole, juuuust in case.