C is a hard and unnecessary language so I changed to writing it in Javascript. Tonight, I sleep easy.