A brief history of humankind in Javascript