Javascript reverse routing support.