RangeError: attempting to construct out-of-bounds TypedArray on ArrayBuffer
Following error on executing the demo.html:

11:23:43.334 Successfully compiled asm.js code (loaded from cache in 12ms)  6757cd97-3938-4a70-a33e-32d29200f957
11:23:43.354 Successfully compiled asm.js code (loaded from cache in 3ms)  6757cd97-3938-4a70-a33e-32d29200f957
11:23:43.481 RangeError: attempting to construct out-of-bounds TypedArray on ArrayBuffer  6757cd97-3938-4a70-a33e-32d29200f957:10519

seems the line 10519 in web/lib/cryptonight-asmjs.min.js triggers the problem:
    this.input = new Uint8Array(heap, Module._malloc(84), 84);

Any idea?