Spec for add to set javascript.