Character-count based Y-coordinate ordering of comments!
The document is pre-processed (takes 50-200 ms for very long comments) such that finding global character counts becomes trivial and very speedy. This way we are using location.top to store the global count of characters before an annotation to give us a global ordering of the HTML annotations based on DOM logic.
Merge branch 'html' of https://github.com/nbproject/nbproject into html