$.fn.datepicker.noConflict = function(){
        $.fn.datepicker = old;
        return this;
    };