build mcapjs