plugins/native.js fix on _slice is undefined