Javascript Ambilight maker