Adding function to simulate high sgv values.
Refactored main server code (nightscout) and index.html and added all computation processing to server code.