Fixes: "AttributeError: 'ReaderThread' object has no attribute 'sendPong'"
Merge branch 'js-fix' into master+js-fix