add option to set parts length
fix some javascript linting warnings
mass coupon generator