re-organize mkws.js build process, MKWS-229