Added sample 2 for AMD using RequireJS