Use GM_xmlhttpRequest to load template files.