Questions on the four instantiation patterns of Javascript