filling js snippets..