Split main template out so we've got a separate js and css file