connet port x2 gateway wifi

xbee connect port gateway wifi will support java script or we need to use python only

Python only.

if i send any commands from the front end(front end running on java script) to gateway is it possible to communicate with front end