Modernize jslint; add in some AMT API constants; add CLI