jhtml will not in window, in case of in a closure