Get Numeric Value From String Javascript Substring From Right