Making src/core/bidi.js adhere to the style guide