Fix path bug in visualization JS