Javascript form for mail invitation