Update policyCheck.js

Using minInterval and maxInterval everywhere...