Old project. Messing around with 2D mario physics using JavaScript and HTML DOM