Fixed reference to require('Q') to require('q')