Fix sendForm definition.

This caused a Javascript error in Chromium, resulting in the whole page breaking. Arguments not passed to Javascript functions are `undefined` by default, which evaluates to `false` in an `if` statement. Providing a default value like this does not work and is also unnecessary.