fixup regression due to commit 59907ff7 "simplify em/strong routine"

use $closestMarkerIndex correctly
Merge pull request #122 from wkpark/marker_index

use $closestMarkerIndex