javascript, why do you hate me