IDE-1568 improve aui:script template