Use common script for all extensible forms
The snippet for each extensible form is identical except for the
identifier of the block to extend. We can move this parameter to a data
attribute and load if from there, allowing all forms to use a single
block of code.