integrate plotly with local json file uploading