js custom snippets
cleanup