Load config values from javascript