implemented js templating for help contents