support npm plugin load #598