Working with Curl.js