AttoNotification - work in progress
code refactoring, tried to speed up
refactor renderAttoElement