fix bug in clear event handler code

Events with blank namespace now cleared on page:change