move LastUpdate code to a separate js file
move <script>...</script> into the <body>...</body> tag