Me teaching myself how to write Javascript very poorly...