StickyTableHeaders Fork of https://github.com/jmosbech/StickyTableHeaders In this fork, we return a function instead of executing it. So the new require syntax is: require("sticky-table-headers")(jQuery, window);