Fix display class logic to support history API
Get first page results via ajax