store items in template
updating tests with tempalte
adding type to script fixture
Merge pull request #2074 from guardian/facia-dom-cleanup

Facia dom cleanup