Fix jshint errors
Ensure that policy sections aren't displayed if none are installed