Update zpmjs init into closure.