better bug fix for Ext JS 5 (issue #29)
correctly monitoring page refresh