add setSnippets method
fix requirejs shim path according to module info