finish up all JS code currently needed

That's the hook!