mdkir js fold