Added promise library. Fixed installing of npm dependencies.