Changed javascript file to upload a training file and display it on interactive table