Fixed crash on schema check

Uncommented JSV and env in lib/policymanager.js

Jira issue: WP-332
Merge pull request #51 from smonteleone/WP-332

Fixed crash on schema check