Moved hue-lights JS code to file. Added console- and error redirection.
Corrected arduino-led examples bug regarding a callback argument.
Added alert box as error in arduino-led example apps.