I think if you keep the web server and UI parts in nodejs + react and the ML parts in python, you'll be high flying.
This might also be worth reading: https://www.quora.com/Why-doesnt-anyone-recommend-JavaScript...
This might also be worth reading: https://www.quora.com/Why-doesnt-anyone-recommend-JavaScript...