Fix plugin node module loading code