Revert heartbeat and adding static karma.js.