printosc to JS