Minor refactoring to EditTrack.renderFeature.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Activate edit menu using data- attrs.

Which takes care of sydcanem/bootstrap-contextmenu#72.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>