Create durationpicker.js