* Add heap part js code * Update heap.md * Update heap.md * Format the code style and fix a bug. * and fix the style in heap.md * fix the style --------- Co-authored-by: Yudong Jin <krahets@163.com>