Pure JS DOM animation