imported from http://code.google.com/p/jquery-countdown/