Fix action contact form if JS is disabled.

Signed-off-by: Thomas Marques <marquesthom@gmail.com>