FIX javascript configuration