Desperate times call for desperate measures. After realizing how difficult it is to debug javascript, I rewrote the Mipsem project in python so as to avoid losing any more sleep.