tweaks to random-blocks.js and changes to main that avoid loading the same animation twice in a row