fixed a problem with the endless_scroll.js