Fixed issue #8059: Template editor register js and css file from template