Get Value From String Javascript Substring