js snippets (usually used in Chrome DevTools)