Switch to modern javascriptz

I moved to jQuery and made the timestamp guessed in the JS itself.