Cleanup more

* If no endpoint is configured, do not even extract data
* On-click event now prepends data to the body tag, instead of appending it to the end