moving js into colorpicker.js
adding original Popover.js