Tabs to spaces
Move handling of Figshare authentication problems to articles.js