render content through javascript and ajax instead of html requests. add pagination