added ajax 'heartbeat' logic to display view