Move javascript snippets a bit