(bug 44972) Fix JS errors in Special:Translate with tux=0

Change-Id: Ib9fd987d2ec608f047b1fa4338130892d01fb078