Bah. I hate you Javascript.