how to add custom javascript to compose page of email module in sugarcrm v6.5?

How can I add a new custom javascript to the email module during the compose action without using any logic hooks?

I tried using logic hooks but it gives me errors so I would like to know if there are other alternatives.

thank you