how to set resolution of screen in html code example Example: device width js window.screen.availWidth