added parameters to control the duration of the leds off/on and added jquery ui sliders to the template. Lastly, made the form make ajax requests instead of posting back