Fix last line behavior for duplicate region
web-mode for .jsx (React)