Create extensions.js

I'll add this to base.user.js in an @require. Keeping clutter like this out of main code is a good idea in my opinion