Make images go to fullscreen mode if the browser has JavaScript.