added settings for web browser
fixed js script which probably sometimes raises 
testing errors