Moved disable button JavaScript to the end of the file.