refactored the annotation code to do it completely in js/html/css. This fixed the button positioning issue and should allow for easier multi-platform implementation