JavaScript: add ARMv6 support