Update to spec.js