}
});
}
private ScriptOrderHandler newScriptOrderHandler(final FBScript script) {
return new ScriptOrderHandler() {
@Override
public void onRemove(int index) {
if (script != null && script.getHelpers() != null) {
if (script.getHelpers().size() > index) {
script.getHelpers().remove(index);