var min = $(' input[type="checkbox"]:first-child').val()
var max = $('input[type="checkbox"]:last-child').val();