Ok. I found this comment regarding c360 in another website which suggests that you should put your script before any c360 script:
From
http://www.eggheadcafe.com/software/aspnet/31983951/crmform-is-undefined.aspxIt looks like my actual issue was in the sequence of
my script vs the boilerplate script that c360 inserted automatically
to handle its alert functionality. If I try to reference crmForm
after their script, it is undefined. I had believed I had tested my
script before the c360 script or with the c360 script removed
completely, but I must have made a mistake when I did so.