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

Using a data-module attribute to allow any selector for custom fields.