code: def test_display_javascript():
      js_content = "console.log('hello world')"
      obj = Javascript(js_content)
      assert_equal(obj.data, js_content)
      assert_equal(obj._repr_javascript_(), js_content)
  
imports: from nose.tools import assert_equal, assert_in
  from pyecharts.render.display import HTML, Javascript
label_desc: Use image node_id 2 for calling a global function with example usage: test_display_javascript() without return types