Fixed broken highlighting

Major changes in scientificAnnotation.js due to magic that needed to be
applied in order to get around asynchronous page rendering.
* fixes #13