Update popup.js

Added improved (hopefully more reliable) handling of URLs to return Drive file ID.