this could use the compiled libc one? is there a benefit to keeping a js version?

also, if this is called from strlwr which is non-asm, this should be non-asm as well to avoid call overhead.