updates from slate

Some bug fixes, more bb.toggleClass features, bb.toggleClassInv, and
Array.map.
updated readme