Set Css Style Via Javascript Substring Syntax