Fixed infinite-scroll JS hack