change main to dist/rest-model.js