[BUGFIX] Fix a JS error in with TCE select wizard