[fix] make the `new` operator optional since it is necessary when we attach methods to the prototype