modify startend.startencode and startend.endencode (doT.js:48)
modify doT.js:101
to avoid global prototype pollution.