support for no_js and old browser cases