Adding npm module 'q' to project for promises support