updated server polling

fixed if statement for readyState,
changed the element to overwrite
only load from database once per page load