duplicate supportsHtml5storage function

due to missing import possibility