Replace JSInclude with simple string.Contains
Replace .Not selector with set contains on the tag name
Make <, > replacement easier to read