Added support for paste-submit ajax calls