Include pathFunction.js in the index.html