Rewrite player using the callback-based ScriptProcessorNode