Use Native for adding hashchange event