Fix attars, add 'use strict', remove element from function, move template after link