refactoring: use div js_container instead of different div