<!doctype html> <html> <head> <meta charset="utf-8"/> </head> <body> <h1>Look in the console</h1> <script src="./hmmlib.js"></script> <script> (function(){ var x = new XMLHttpRequest(); x.addEventListener("load", function(){ var state = HMML_parse(this.responseText); console.dir(state); }); x.open("GET", "test.hmml"); x.send(); })(); </script> </body> </html>