I think this is because the project.html is executed immediately (asynchronously) and the form.html only inside "rtl.run". And in it the element is created for which the script wants to create an event. (And does not find the element)
I'll leave it like that for now.
I can present the project in a few weeks. It uses several Web Core projects as one big project and gets all data from many own XData servers.