Update popup-imagemanager.js

Bugfix in mediabrowser, fixing the javascript issue so you can select directories now!
Merge pull request #1675 from blubbfish/patch-1

Update popup-imagemanager.js