feat(client/js/templating.js): #868 - max size should be optional