javascript error msgs are broken.. parsing node is tricker than php