added basic mobilequery support in python and js