properly clear on-page-logging with each click