#101836Store reference of form element in FormEngine module
Description
Instead of grabbing the form element all over again in the FormEngine module, the element should be grabbed once and stored for reference, also cleaning up the TypeScript code a bit.