TST: Add tests representativeCoordinatesAtIndex
ENH: Use representativeCoordinatesAtIndex

emperor.js is now using representativeCoordinatesAtIndex to retrieve the
coordinates that need to get drawn on screen.