Extension limitation with fileupload

Attempt to establish a test on the fileupload (js) to allow only certain
file type.
Using the keyword "extensions" word in the declaration of the fields in
contenttypes.yml