Refactored to move ajax 'complete' function in 'request' function to
'requestComplete' function. Added test page