JavaScript motherfucker.