Html Javascripts Average Method Forecasting Techniques