move launch.js to private modules