Got rid of the dom loaded event listener

It only caused problems in debugging via Ripple in Chrome.
Removed the inline JSON.

Removed the inline JSON (part of the value attr of a hidden input) in
the HTML that was only there for testing purposes.