don't set form action if page requested by ajax