improve performance of mediaelement debugger