(function($) {"use strict"; var ColorPicker = function(select, options) { this.options = options; this.$select = $(select); this._init(); }; ColorPicker.prototype = { constructor : ColorPicker, _init : function() { var callback = this.options.callback; var dropdown = this.options.dropdown; var tooltip = this.options.tooltip; var selectValue = this.$select.val(); var selectColor = this.$select.find("option:selected").data("color"); var $markupUl = $("