Fixed crash on schema check

Uncommented JSV and env in lib/policymanager.js

Jira issue: WP-332