var Portfolio = function () { return { //main function to initiate the module init: function () { $('.mix-grid').mixitup(); } }; }();
info at phpclasses dot org