update target, this and currentTarget for events
add some methods needed for bootstrap