finished fix for annotation_categories/index

 - added condition in index.js to do not open any times a field on
add_annotation_prompt click.
fix changing from .rjs to .js.erb

/!\ There is some problems with
test/functional/annotation_categories_controller_test.rb