Add Javascript capability to extend for example LdapRegisterWorkflow.
This will create a new commit in order to revert the existing changes.