Updated policy.js