fixex js routing config