re #1 asm.js: added dim>2 example + tiny fix