File upload to WS server through PHP now works (separate script).
Added javascript spinner.