list of little snippets useful javascript I use for differents projects