build: fixed the js build for metamodel #226