trigger an event on location change success which allows plugin developers to hook and parse dom to register events