Update color-picker.js

Get the data-id attr, not the actual id. The transparent option turns off if the user chooses a color while it is checked.