Fixed policymanager.js
fixed reference and small indentation issues

Jira issue: WP-27