Change heartbeat literal to function
Merge branch 'sw-testing' of http://github.com/kiorpesc/WebGCS into sw-testing