added license to Capsule.js