dom/event: fix event handling
dom/node: fix parent existence check
history: fix push/replace in browser