JQuery Plugin with Javascript Utility Code