Added json data output to main js file.