Set a simple amd example with curl.js