cleaning content.js, peristerite extendTemplates in global