Problems getting activities from model

And problems with drag-drop on js-created DOM-objects.

But hey, there are at least some js-created DOM objects! Hurrah!