Create constructor-pattern.js