Make dist/curl-for-ssjs/curl.js the main module for npm-based environments and src/curl.js the main module for bower-based environments.