(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 selectValue = this.$select.val(); var selectColor = this.$select.find("option:selected").data("color"); var $markupUl = $("