Update submodules (0.3.4) and change initCustomEvent