Updated peer-time.js to use array
Updated peer-time.js to use localtime
Added moving average mode