wtf Javascript exceptions