DOM listener.
Refactoring.
Tests work! No more double click though.
Working tests finally.
Merge branch 'domlistener'
Find tests files automatically and make output prettier