mail sender coding trouble

I've met a problem when tried to pass a tuple as a sender parameter to Message class. (name, address).

> Uncaught SyntaxError: Unexpected token <

It crashes when name contains non-unicode characters, so i fixed it.