add before_wrapper and after_wrapper tags, extra_for_js extra wrapper