Back on track. The JavaScript migration is almost complete.

Numerous changes.