Get Css Style Value Javascript Substring Function