jQuery plugin to select a repeat period