Add console.log test button.
Add doctype to examples for html file.