Download and unpack The latest release of Mascara. You don't need to install it, you can run it straight from the folder.
translate.py. Run this script with an esx file as input, and the script will generate a js file as output. You can try it with the file testfiles/smoketest.esx which is included. Example:
translate.py testfiles/smoketest.esxYou can get help to the cli options by typing:
translate.py --helpNext step will probably be to integrate Mascara with your favorite editor.