brew install js

then create an app-validator/appvalidator/constants_local.py file containing the following:

    SPIDERMONKEY_INSTALLATION = '/usr/local/bin/js'