<script type="application/json" id="selectors">
        [{
            "selector": "#t1",
            "match": ["t1"]
        },
        {
            "selector": "li#t2",
            "match": ["t2"]
        },
        {
            "selector": "li#t3",
            "match": ["t3"]
        },
        {
            "selector": "#t4",
            "match": []
        }]
</script>
<div id="testDOM">
    <ul id="1">
      <li id="t1">This list item should have a green background. because its ID is &quot;t1&quot;<