This is why I don't like javascript.