Create jsHeartbeat.js

version 1.1