added support for duojs building cmd/http front-end