date auction javascript