Attach onload handler just when bread is called

Using `<script src="bread.js"></script>` without calling `new Bread` logs an error. Is it the expected behavior?