Bug 904068 - Implement build/settings.py in javascript