GH99 - RegExAst model refactor + tests for HTML templates
GH99 - Tests for JS templates