make FindAP.js able to work