feature: move all module js logic in namespace #7