Minor changes to PrimAV.js