## Bug description

Sites built with Tailwind use a lot of classes like: `text-base leading-6 font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150` 

The problem is with the ones that have a colon (`:`) inside them. Simmerjs crashes with the following:

```
Failed to execute 'querySelectorAll' on 'Document': 'A.text-base.leading-6.text-gray-400.hover:text-gray-500.hover:text-white' is not a valid selector
```

... bringing down the entire toolbar.

## Expected behavior

The toolbar shouldn't crash when your page contains a CSS class with a colon in it.

https://stackoverflow.com/questions/45110893/select-elements-by-attributes-with-colon

## How to reproduce

1. Make a page with a `<button />` that has a class `with:colon`.
2. Wait for a few events to be captured or click the button yourself
3. Open the toolbar, click "heatmap" and watch it burst up in flames (and then crash)

posthog/test/test_event_model.py
action = Action.objects.create(team=self.team, name="watch movie")
        ActionStep.objects.create(action=action, selector="a[data-id='whatever']")
        action2 = Action.objects.create(team=self.team, name="watch movie2")
        ActionStep.objects.create(action=action2, selector="a[somethingelse='whatever']")
        Person.objects.create(distinct_ids=["watched_movie"], team=self.team)
        event = Event.objects.create(
            team=self.team,
            distinct_id="whatever",
            elements=[Element(order=0, tag_name="a", attributes={"data-id": "whatever"})],
        )
        self.assertEqual(event.actions, [action])
    def test_event_filter(self):
        action_user_paid = Action.objects.create(team=self.team, name="user paid")
        ActionStep.objects.create(action=action_user_paid, event="user paid")
        Person.objects.create(distinct_ids=["user_paid"], team=self.team)
        event = Event.objects.create(event="user paid", distinct_id="user_paid", team=self.team)
        self.assertEqual(event.actions, [action_user_paid])
    def test_element_class_set_to_none(self):
        action_user_paid = Action.objects.create(team=self.team, name="user paid")
        ActionStep.objects.create(action=action_user_paid, selector="a.something")
        Person.objects.create(distinct_ids=["user_paid"], team=self.team)
        event = Event.objects.create(
            event="$autocapture",
            distinct_id="user_paid",
            team=self.team,
            elements=[Element(tag_name="a", attr_class=None, order=0)],
        )
        
        self.assertEqual(event.actions, [])
class TestPreCalculation(BaseTest):