1.move the script from footer into a new js file
2. add href clicking listener to append local time in the url