fixed rgxp for extjs4 template
fixed bug with init tamplates