add ghost.py to execute js