DOM.importStyles supports key-value map, fix comma in task compile