Fix bug. use wrong tag. disable call self.submit() after loading.
Fix bug. If you pass self to javascript env, it will crash in windows after program close. So I create new QObject and pass it to javascript env.