code: function createPicker() {
        if (pickerApiLoaded && oauthToken) {
          var picker = new google.picker.PickerBuilder().addView(google.picker.ViewId.DOCS)
            .setOAuthToken(oauthToken)
            .setDeveloperKey(developerKey)
            .setCallback(pickerCallback)
            .build();
          picker.setVisible(true);
          $('.picker-dialog-bg').css('z-index', 1052); // make it appear above modals
          $('.picker-dialog').css('z-index', 1053);
        }
      }
docs: Create and render a Picker object for picking user Photos.