added snippets
added aaron's javascript snippets