CipherTrace interview question

Go implement a loading screen using raw javascript, no frameworks allowed.