Fix making it work on browsers without `toStaticHTML` method #263