bug fix: "make doc" cannot be run before "make node-modules" because it needs beautifuldocs