Removed console log on focus, since it can lead to problems with explorers
that have no console in them (ie)
Added an implementation example