Improvements
- separated scripts in separate files (.html, .css, .js)
- added interval timer for reloading page after period (enable with
gRefresh=true
andgRefreshInterval=<miliseconds>
) - restructured js code
- added comments to properties (so they can be changed)