some javascript configuration