Reload old page when back icon is presses

I have 2 pages

PAGE 1 - with button to go with page 2
PAGE 2 - arrow go back to page 1

I want is on page 2 when user click back arrow, I want to reload PAGE 1 (so that values input will be clear etc?)

$$(document).on('page:back', '.page[data-page="page1"]', function (e) {


that codes does nothing