Implementing HTML control of the wemo switches
Fixed a bug in html error handling