Hi,
I don't think you will be able to call JS like we do it for form. There may be other way to achieve your requirement.
You probably can inject the JS in a application ribbon button rule, when the button loads your script will fire.
Best Regards,
PG