Fixed problem where it would not print data from JS-browser