Add custom snippets directory.
add some JavaScript snippets