first event "exitintent" first draft done
Merged and fixed code that didnt work