Made more ASM JS compatible