moved JS back into in_head.js so it can be pulled into test script
moved code into separate file + it now renders into base template
Merge branch 'feature/js-analytics' of https://github.com/moneyadviceservice/frontend into js-analytics

Conflicts:
	config/application.rb