added reandonly to groups field
build mcap js