React editor compatibility

Fixes #11.

Test Plan:
Opened blame in both React and non-React editors, and blame appeared fine.
Also scrolled.
make selectors const
Merge pull request #12 from dmnd/fix-react-editor

React editor compatibility