Better configuration management for both js + php.