Few more snippets of js