some minor fixes
also introduce bootbox lib