Wrap in self executing function cause reasons