Use relative URLs for chooser

Fixes issue with choosers not working on HTTPS