shitty javascript that closes input boxes, fuck prototypes
nice styling
cleaning up some stuff