Fixing an issue where JS expand function was referencing neighbours_fn V8 implementation function