public static void JSError(Exception e) {
		if (e instanceof WrappedException) {
			WrappedException ex = (WrappedException) e;
			System.err.printf("[JSBot Runtime Error] %s\n", ex.getMessage());
		} else if (e instanceof EcmaError) {
			EcmaError ex = (EcmaError) e;
			System.err.printf("[JSBot ScriptSyntax Error] %s\n", ex.getMessage());
		} else e.printStackTrace();
	}