Add html5 support