refactored get report data into unanet.js file