Move jqct init from afterlaunch to window.onload