Add onRoute event