var UIIdleTimeout = function () { return { //main function to initiate the module init: function () { // cache a reference to the countdown element so we don't have to query the DOM for it on each ping. var $countdown; $('body').append('
You session will be locked in seconds.
Do you want to continue your session?