Use the externs for advanced closure compilation with the pathfinding.js library.