Simple events refactoring.
Remove unused "if" from events callEvents.
Added layer tile onload event.