Javascript fixes to satisfy lint tools and avoid cruft.

Also updated PCA9685 lightness progmem array to satisfy newer avr-gcc. Compiles clean without warnings now (nagged about progmem not being const before).