add infinite_scroll_load_javascript filter to shouldLoadJavascript() method