JS implementation of the Philips HUE API