Don't update twice.

update() was triggered twice on DOM being ready, causing the script to
try to retrieve information twice every second.
Only trigger new update after previous update complete.

$.ajax calls are async, so it was possible to trigger an update while an
update was already in progress because the new update was set to trigger
one second after starting the previous update, rather than after the
previous update had finished.