move the ActiveLink React class into widgets.js