JavaScript Tutorial Publishing to a Text File