<script> Handlebars.registerHelper("fmtPrice", function(price){ return price.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + "원"; }); </script>