Debouncing implemented on resize
Example pulled out to separate JS file, linebreak.js ready to work as stand-alone module