Fix browser-update.js so it doesn't depend on jQuery