Record and print the time taken to restore the desktop
Use ac-js2