updates to submodules and javascript snippets