fixes in JS and fixing Python
python update
python main update
update python