Make Infinite Scroll a plugin