remove unused functions from boron-mt template.js, leaving a minimum set to be ported over to oxygen