Experimenting with using javascript to track a user session based on mouse and keyboard events.