added rootModel.js to build.