Made JS print consistent with C print