Updated primitives.js file.