Register assets before enqueueing

Closes #36