I am so bad at javascript...