Python Logging Print To Screen Using Javascript In Html