Test javascript for full-screen display.