React Get Query String Javascript Substring Last 4