config loader and js dict support