Changed usage of simplify-js (in largestRect) and Heap.js (in shortestPath) as external libraries