Bug 940183 - Upgrade npm dependencies and use new interfaces r=gaye