Added methods for changing the HTML DOM

Signed-off-by: Peter Kraml <piets@boinx.com>