I figured out what the issue is. HTML/Javascript works well on a form, except in a conditional-visible table row. In other words, it works well when you are just loading a form, but when your javascript hides in a hidden row and gets introduced into the DOM later, it is emitted but not executed. (copy of comment)
I experienced this behavior sometimes myself. Can you file a bug report? Than I will look into it.
It works in my 2-sec test project. Did you set the Content Type to Javascript?
Also, any idea why the Tracker.js is giving a 404? The path looks correct.