add maximum tag javascript to tag chooser