Apply formatting to html 5 fullscreen api.