fix line breaks in debugBelch for node
fix file reading for SpiderMonkey