fix update() in hotjs.py and tested
add hotjs.Class as root class