Fixed javascript submit on value click.