common ui for html5 fs