Updated /referversion, and removed repeated .toLowerCase()