Exception is happened in ajaxSubmit.

If argument of ajaxSubmit is not set, line 93 - options.type and options.url makes exception.
So I added check it before refer an undefined object.