Fix lack of tree loading for js that required embedding the js in the fo...

Fix lack of tree loading for js that required embedding the js in the form.

Revert to respond_to wants.js. Can't get this to work any other way.

Not sure what changed that caused my setup to stop working, but in the course of figuring that out, I sorted out why the js was not getting loaded properly.