Simple blockchain in JavaScript

do open the console for maximum enjoyment