partial support for non html5 browsers