Create primitives.js