add some snippets for requirejs