Js version changed, selected_data array doesnt save well items selected data, now is a string, bad solution but its works