Add limit in the query to avoid JS overload