updated ema
added iterative ema
javascript time series example updated with iterative ema