Remove trailing slash on nodejsPath