ready for non html5 mode