tpl driver bugfix order of processing of js css