javascript tabspace correction for RecurringEntity template file