Update master_template.js