[fix Bug 937947] track hover interactions on central

Also cleaned up a bunch of indentation and linting errors in the JS