Implement basic bridge support in asmjs jit backend.