I cleaned up our javascript for interpolating into the color pallet for community action

P.S. wanna give me write access to the main repo so we can skip this pull request business next time?