Added gitignore and cleaned up heap.js