fix js test print statement on python 3