[Remove Mootools] Behavior Keepalive without any library dependency.

Keepalive without any library dependency.
I have tried to shrink the code as short as possible.
Should work from IE6 and all other modern Browsers.