Having document work in browser or node contexts
Version up