[Fix] Allowing for unit tests involving google picker service

- Checking for isClientJS exists on window instead of passing global reference of handleClientJSLoad function
- This fix stops an error occurring during unit tests as handleClientJSLoad is not defined