fixed spelling mistake

fixed spelling mistake in file heartbeat.js

`hearbeat` to `heartbeat`

;)