frontendpy: code style change & web heartbeating less verbose