fixed reading of data-attributes that broke a few builds ago.
Math.ceil time so we don't see your ad will resume in 0.