adding javascript action on invites#create