Added functionality to control LED from browser