Martin Richards compiler is pretty easy to add a backend to. I got the distribution he covers in his BCPL for young people (raspberrypi) guide. I targeted VideoCore for some tinkering I was doing, asm.js sould be fairly easy - just the relooping stuff would be the main effort.
Would be interesting to see Martin Richards classic benchmark compiled to asm.js from BCPL and compared with the port to js.