Refactoring the JS code for better extensibility.
Allow document annotations to be added.
Removing forgotten console.log
Adding shorthand notation to get to a node's attributes.
Adding draft of a homepage pagetype.
Make global annotations work.