add `dist` make target

build standalone js file