Finally got it working on local nodejs server - about to test it on AWS..