remove unused parts of JavaScript Templates library