Misc Javascript's snippets found to be useful