Add a third param to `click` like this:

```
click: (page_id, id, click_type = "click") ->
  # ...
  @last_click = node[click_type]()
```

Then you can make `doubleClick` call `this.click(page_id, id, 'doubleClick')`