added copyright and reference to clamp.js