Added json external data for PUP input.
Fixed the AJAX calling wait page.