Checkboxes is not the way to go for range. Try something like this. I think it would be a much smoother experience for users, as well as writing. There's an really elaborate API and source for every example. I'm sure you'll figure it out, but I would recommend stepping away from the checkboxes.
T.