I am having a hard time with jquery autocomplete and hope somebody can give me some tips.

1/ I am getting my data from a database to populate the array and this is what I have when I view source:
  $(function() {
    var availableTags = [
"13th Floor Records",
"77 Records",
"A Cappella Records",
"A&E Records",
"Flair Records",
"FRE Records",
"Goldenrod Records",
"Hermes records",
"Reprise Records",
"Rhythm King",
"Xemu Records"   ];
    $( "#tags" ).autocomplete({
      source: availableTags
This works OK but I have the same autocomplete box 4 times on one page and I thought I would call the same code 4 times on the page but this will not work. The first time it is called is the only one that will work.
<label for="tags">Recording company: </label>
<input name="tags" id="tags" /><br/>
So I have 4 copies of the script with different names.

2/ There are going to be a lot of items in the array and as above was not working how I wanted I thought I would use a text file pre generated from the database and found this example which will not work at all:
jQuery.get( 'companies.txt' ).done(function( data ) {
$( "#performer3" ).autocomplete({
source: 'companies.txt'
Also any comments on wether 4 database calls are better/worse than reading a text file 4 times?