added missing example periodicFormulaGenerator.js