React Get Query String Javascript Substring Syntax In Java