Added jsbeautifier and added callback handling function