Add popup_params option to specify which parameters are sent to in app browser

I wanted to be able to specify a `popup_params` option through the plugin, so I added one. My text editor also removed some trailing whitespace it seems. I only changed lines 85 + 86 in the plugin code.