HTML imports ready for Firefox 35

See https://bugzilla.mozilla.org/show_bug.cgi?id=877072#c83
Merge pull request #753 from waldyrious/patch-1

HTML imports ready for Firefox 35