added counter for redirect
fixed removing listener
cleaner counter
changed tips from attributes to HTML content