JS fully modularized