Add javascript configuration