change the js for the timestamp links to use event handlers