Moved from breakpoint.js to own breakpoint logic.
Fixed issue #3.