Moved datetime status bar function from index.html to control.js