Update PZPConnector.js

make app ui work in detached mode with started pzp