Addedd js snippets