Fixed JSELaunch sequence (bug from refactoring)