Fanstatic packaging of JavaScript Templates