Begin refactoring asmjs backend so it doesn't keep refs to the trace.