aposSetVariables makes apos.uploadsUrl and any other truly global stuff available in the browser
Merge branch 'master' of github.com:punkave/apostrophe-sandbox