Fix inconsistencies, add JS and Css specific classes

Some weirdnesses in JavaScript and Css was fixed. Also some inconsistencies
like different MatchParen colors Markdown text styling in gui and terminal
were fixed.