Change page to currentPage. Send more variables to partial. Move escaping to partial.