JS code reuse for plugins with items
js namespace creating