move comments from tpl to main.js