added quantize js