    # File lib/action_view/helpers/javascript_helper.rb, line 174
          def javascript_tag(content_or_options_with_block = nil, html_options = {}, &block)
            if block_given?
              html_options = content_or_options_with_block if content_or_options_with_block.is_a?(Hash)
              content = capture(&block)
            else
              content = content_or_options_with_block
            end

            javascript_tag = content_tag("script", javascript_cdata_section(content), html_options.merge(:type => Mime::JS))

            if block_given? && block_is_within_action_view?(block)
              concat(javascript_tag, block.binding)
            else
              javascript_tag
            end
          end