fix for pasting word content with headings between lists
Fixed jscs issues