build tool for cmd-wrapped javascript code