Improved use of data

Improved communication between JS scripts, now loads new data on page
load and re-renders data upon retrieval of new data. This should also
allow the page to refresh itself every 10 mins. when new data is
received.