getActiveElement function

Get the element on the page that currently has focus.