switch template to minified js for easier public testing