If you are new to Javascript you should note that this tutorial makes heavy use of Promises which is one way to handle callbacks piling up, but it's not the only way, or even the most common.