add reusable jsjdialog, build script