How to add assets to a Joomla template
From https://gist.github.com/betweenbrain/2652727