Documentation and doctype update

I had to make a few minor modification to make this work out of the box. Being new to node these were not obvious at first. They may be helpful to others.