Remove dead code from launch.js
Don't need infinite loop anymore.
Implemented version method.