Refreshing all the css on a page using jQuery

I have a client project where we let them customize some css attributes in the admin, show them the updates in a small preview area, then save the changes back to the server. The custom css attributes are in a small css file that is generated on pageload and then cached to the server. All of the admin functionality is done through ajax, so I wanted a good way to update the UI of the site without having to do a full pageload. The below function was a great help.

function reloadStylesheets() {
    var queryString = '?reload=' + new Date().getTime();
    $('link[rel="stylesheet"]').each(function () {
        this.href = this.href.replace(/\?.*|$/, queryString);
    });
}