use require function to load wx lib