For multiple tabs, event configuration

Idle activity timer and logout redirect for jQuery. Works with multiple
tabs. Event configuration.