use minified versions, update template