Merging submodules and javascript error loggin