http://james.padolsey.com/javascript/getting-the-real-time-in-javascript/