Update Scripts/Utility.js

Added support for report types