issue #29: called other javascript from controller, for templates, rerender the script to other yield tags