Convert select manager to js

b6127cf from pairing with Dominic.
You can just use `this` instead of `e.target` here. No big deal though