Order matters with native HTML imports in chrome.

template was null, fixes #2.