Cannot change between routes with buttons
I wanted to choose between pages in a SPA with buttons but only works with html hrefs.
Clicking "goto page2" works, but in the page2 the button for page1 doesn't.
Tested with Chromium and Firefox and Nim v.2.0.2, v.2.2.0 and devel.

## main.nim

```python
# Import HappyX
import happyx


# Declare application with ID "app"
appRoutes "app":
  "/page1":
    tButton:
      "goto page2"
      @click:
        route("/page2")
    tA:
      "page2 bis"
      href:="#/page2"
  "/page2":
    tButton:
      "goto page1"
      @click:
        route("/page1")
    tA:
      "page1 bis"
      href:="#/page1"

```

## index.html

```html
<!DOCTYPE html>
<html>
  <head>
    <title>Hello World App</title>
  </head>
  <body>
    <div id="app">
    </div>
    <!-- Nim script after compilation -->
    <script src="main.js"></script>
  </body>
</html>

```
