add template helper
upgrade registerStyle and registerScript functions
ugrade code
pattern in assetManager and template_helper for development branch