screenshots and javascript fixe