The constructor of constructor for Javascript