Update nii.js
Update nii.js

the filePath variable does not have a '/' at the start of it, so for the endWith check to work we need to remove it from intendedFor.
nellh/bids-validator,suyashdb/bids-validator,Squishymedia/BIDS-Validator,nellh/bids-validator,nellh/bids-validator,Squishymedia/bids-validator