Set Css Style Via Javascript Substring Syntax Sql