Made a whooooooole buncha JS changes