Fix output of jsac
Add heartbeat status in portal