Add a directive to manage DOM with kinetic