fixes asynch load javascript for countdown