little change js snippets