public static void StopAllScripts() {
		synchronized (JSThread.scriptThreads) {
			for (JSThread jsThread : JSThread.scriptThreads.values()) {
				jsThread.Stop();
				jsThread.interrupt();
			}
		}
	}