Some preparation for build plugin

Conflicts:
	ui/app/assets/commons/templates.js