Update launcher.js

code clean up