move string comparison outside for loop
move string comparison outside for loop

plotly/plotly.js,aburato/plotly.js,etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,plotly/plotly.js,aburato/plotly.js,etpinard/plotly.js