[#1708] Use data-module attribute in custom-fields JavaScript module